package com.ts.enterprise.module.user.query.page;


import com.ts.enterprise.common.query.BasePageParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.Min;
import java.util.Date;

/**
 *
 *
 * @author dean
 * @date 2021-07-14 16:14:40
 */
@Data
public class SystemLogPageQuery extends BasePageParam {

    @ApiModelProperty(value = "操作用户id")
    @Min(1)
    private Long userId;

    @ApiModelProperty(value = "关键字")
    @Length(max = 20,message = "关键字字数过多")
    private String data;

    @ApiModelProperty(value = "开始时间")
    private Date startTime;

    @ApiModelProperty(value = "结束时间")
    private Date endTime;
}
